From: Florian Müllner Date: Tue, 29 Jun 2021 19:17:27 +0000 (+0200) Subject: ibusCandidatePopup: Use plain actor as dummy cursor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~241 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f51fb4bed05faaf9ad38889ffd972ef374cd29f7;p=gnome-shell.git ibusCandidatePopup: Use plain actor as dummy cursor Now that source actors no longer have to be widgets, we can use a plain actor for the dummy cursor and save a bit of overhead. Part-of: --- diff --git a/js/ui/ibusCandidatePopup.js b/js/ui/ibusCandidatePopup.js index 6c497b2e9..5a9fe7792 100644 --- a/js/ui/ibusCandidatePopup.js +++ b/js/ui/ibusCandidatePopup.js @@ -146,7 +146,7 @@ class IbusCandidatePopup extends BoxPointer.BoxPointer { this.visible = false; this.style_class = 'candidate-popup-boxpointer'; - this._dummyCursor = new St.Widget({ opacity: 0 }); + this._dummyCursor = new Clutter.Actor({ opacity: 0 }); Main.layoutManager.uiGroup.add_actor(this._dummyCursor); Main.layoutManager.addChrome(this);